package com.baizhi.entity;



import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author atguigu
 * @since 2024-01-25
 */

public class Shebei implements Serializable {

    private String deviceId;


    private Integer androidId;


    private String deviceBrand;


    private String systemModel;


    private String systemVersion;


    private String siteId;


    private String siteName;


    private String courtCode;


    private Integer faceVerify;


    private Integer fingerprintVerify;


    private Integer signVerify;


    private Integer authStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date authTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //前端传给后台的日期格式化
    private Date authExpireTime;


    private Date createTime;


//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")  //后台传给前端的日期格式化
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  //前端传给后台的日期格式化
    private Date updateTime;

    private String ip;

    private String network;
    private Integer is_deleted;
    //当前页
    private Integer page = 1;
    //一页几条
    private Integer rows = 2;
    private Integer currIndex;
    private Integer pageSize;
    public Shebei(){}

    public Shebei(String deviceId, Integer androidId, String deviceBrand, String systemModel, String systemVersion, String siteId, String siteName, String courtCode, Integer faceVerify, Integer fingerprintVerify, Integer signVerify, Integer authStatus, Date authTime, Date authExpireTime, Date createTime, Date updateTime, String ip, String network, Integer is_deleted) {
        this.deviceId = deviceId;
        this.androidId = androidId;
        this.deviceBrand = deviceBrand;
        this.systemModel = systemModel;
        this.systemVersion = systemVersion;
        this.siteId = siteId;
        this.siteName = siteName;
        this.courtCode = courtCode;
        this.faceVerify = faceVerify;
        this.fingerprintVerify = fingerprintVerify;
        this.signVerify = signVerify;
        this.authStatus = authStatus;
        this.authTime = authTime;
        this.authExpireTime = authExpireTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.ip = ip;
        this.network = network;
        this.is_deleted = is_deleted;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getAndroidId() {
        return androidId;
    }

    public void setAndroidId(Integer androidId) {
        this.androidId = androidId;
    }

    public String getDeviceBrand() {
        return deviceBrand;
    }

    public void setDeviceBrand(String deviceBrand) {
        this.deviceBrand = deviceBrand;
    }

    public String getSystemModel() {
        return systemModel;
    }

    public void setSystemModel(String systemModel) {
        this.systemModel = systemModel;
    }

    public String getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getCourtCode() {
        return courtCode;
    }

    public void setCourtCode(String courtCode) {
        this.courtCode = courtCode;
    }

    public Integer getFaceVerify() {
        return faceVerify;
    }

    public void setFaceVerify(Integer faceVerify) {
        this.faceVerify = faceVerify;
    }

    public Integer getFingerprintVerify() {
        return fingerprintVerify;
    }

    public void setFingerprintVerify(Integer fingerprintVerify) {
        this.fingerprintVerify = fingerprintVerify;
    }

    public Integer getSignVerify() {
        return signVerify;
    }

    public void setSignVerify(Integer signVerify) {
        this.signVerify = signVerify;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }

    public Date getAuthExpireTime() {
        return authExpireTime;
    }

    public void setAuthExpireTime(Date authExpireTime) {
        this.authExpireTime = authExpireTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getNetwork() {
        return network;
    }

    public void setNetwork(String network) {
        this.network = network;
    }

    public Integer getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(Integer is_deleted) {
        this.is_deleted = is_deleted;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getPage() {
        return page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setCurrIndex(Integer currIndex) {
        this.currIndex = currIndex;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrIndex() {
        return currIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }
}
